package com.shengyin.ec.model.dao.permission;

import java.util.List;
import java.util.Set;

import com.shengyin.ec.model.dao.BaseDao;
import com.shengyin.ec.model.entity.Resources;
import com.shengyin.ec.model.entity.Users;

public interface ResourcesDao extends BaseDao<Resources> {
	public List<Resources> getResourcesList(int start, int end) ;
	public List<Resources> getResourcesListByKeyword(String keyword, int start, int end);
	public void deleteSelectedResources(Long[] ids);
	
	public Long getTotal();
	
	public Set<Resources> getResourcesListByRole(Long roleId, int start,
			int end);
}
